package com.itheima.goods.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.goods.pojo.Goods;
import entity.Result;

public interface GoodService extends IService<Goods> {
    Result findById(Long goodId);

    Result buy(Long goodId, Integer buyNum);
}
